import ElementUI from './public/element-ui/elementUI.js'
// import 'element-ui/lib/theme-chalk/index.css';
import './public/element-ui/element-variables.scss'

import '../../lib/all/ocean-all.css'

import './styles/index.scss'

export default async ({ Vue, isServer }) => {
  Vue.use(ElementUI)
  if (!isServer) {
    // await import('../../lib/all/ocean-all.common').then((Ocean) => {
    //   Vue.use(Ocean.default)
    // })
    await import('../../components/index.js').then((Ocean) => {
      Vue.use(Ocean.default)
    })
  }
}
